﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SetFields.aspx.cs" Inherits="Whir_System_Module_Template_SetFields" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>列出字段</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    html {
	    overflow-x: hidden; /*隐藏水平滚动条*/
    }
    </style>
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td class="form_td"><strong>选择数据源</strong></td>
            </tr>
            <tr>
                <td class="form_td">
                    <asp:DropDownList ID="ddlModel" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlModel_SelectedIndexChanged">
                    </asp:DropDownList><br />
                    <br />
                    <asp:DropDownList ID="ddlForm" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlForm_SelectedIndexChanged">
                        <asp:ListItem Text="= 表单列表 =" Value="-1"></asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="form_td"><strong>字段列表</strong></td>
            </tr>
            <tr>
                <td class="form_td">
                    <asp:CheckBoxList ID="cblField" runat="server">
                    </asp:CheckBoxList></td>
            </tr>
        </table>
        <span class="form_desc">说明：依次选择“功能模块”→“表单”→然后在“字段列表”的字段后点击“复制”，即可复制出此字段的标签。</span>
    </form>
</body>
</html>

<script language="javascript"> 
   function copyUrl(str){ 
        var clipBoardContent = str; 
        window.clipboardData.setData("Text",clipBoardContent); 
        alert("复制标签 " + str + " 成功!"); 
   } 
</script>

